home *** CD-ROM | disk | FTP | other *** search
- Subject: Part II (was Re: Modal Dialogs- Part I)
- Sent: 7/15/96 12:25 PM
- Received: 7/15/96 12:31 PM
- From: Hutchings, Richard B. "Brad", brad@hutchings-software.com
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- Henri wrote:
-
- > Don't forget also that when opening a dialog you should mark the undo
- > stack. When the dialog goes away you need to clear the undo stack using
- the
- > previous mark. Command that were executed while the dialog was opened
- > should not be undoable anymore.
-
- I am doing this - it turns out to be a tad awkward. This brings me to "Part
- II" of the modal dialog issue, which is...
-
- The primary reason to have a modal dialog is because your code is at some
- point where it needs user input and can't continue without it. The thing
- that would really solve my problem in "Part I" is to be able to open and
- interact with a frame based modal dialog, then go on my merry way with the
- infomation gathered from the user. I can't really use the platform
- "ModalDialog" call because I want things like drag and drop from other apps
- that come easily with frame based dialogs.
-
- An example dialog in my part is one that gets a text label. User clicks OK,
- and the dialog frame must post the command that's initiated, right? That's
- awkward, because the frame that was active before the dialog was put up
- should be the source of the command.
-
- Am I missing something simple here, or are there no better ways around this
- flow of control problem?
-
- Brad
-
- <mailto: "Brad Hutchings" brad@hutchings-software.com>
- <http://www.hutchings-software.com>
-
- Ask me about:
- Hutchings Software's Rapid-I(tm) Button
- Hutchings Software's Essential Strips(tm)
-